Installing
Custom I/O Procedures
To install an
I/O procedure associated with the .ARC filename extension, use the mmioInstallIOProc
mmioInstallIOProc (mmioFOURCC('A', 'R', 'C', ' '),
(LPMMIOPROC)lpmmioproc, MMIO_INSTALLPROC);
When you
install an I/O procedure using mmioInstallIOProc
You can also
temporarily install an I/O procedure by using the mmioOpen
1. Set the fccIOProc member to NULL.
2. Set the pIOProc member to the
procedure-instance address of the I/O procedure.
3. Set all other members to zero (unless you are
opening a memory file, or directly reading or writing to the file I/O buffer).
Be sure to
remove any I/O procedures you have installed before you exit your application.